From: Lukas Voegl Date: Fri, 27 Jun 2025 10:36:57 +0000 (+0200) Subject: treewide: include `nls.mk` when depending on glib2 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=7ee547b4402b85ff3ede78cdcd997484fc620fa4;p=feed%2Fpackages.git treewide: include `nls.mk` when depending on glib2 When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files. Signed-off-by: Lukas Voegl --- diff --git a/libs/glib-networking/Makefile b/libs/glib-networking/Makefile index 962349d2a2..e0bf48ea99 100644 --- a/libs/glib-networking/Makefile +++ b/libs/glib-networking/Makefile @@ -15,6 +15,7 @@ PKG_CPE_ID:=cpe:/a:gnome:glib-networking include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/meson.mk +include $(INCLUDE_DIR)/nls.mk MESON_ARGS += \ -Dgnutls=enabled \ diff --git a/sound/fluidsynth/Makefile b/sound/fluidsynth/Makefile index 25779f4bc5..f8bad01f2e 100644 --- a/sound/fluidsynth/Makefile +++ b/sound/fluidsynth/Makefile @@ -14,6 +14,7 @@ PKG_LICENSE_FILES:=LICENSE include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk +include $(INCLUDE_DIR)/nls.mk CMAKE_INSTALL:=1 diff --git a/utils/swanmon/Makefile b/utils/swanmon/Makefile index 6dd9675734..c523ae634e 100644 --- a/utils/swanmon/Makefile +++ b/utils/swanmon/Makefile @@ -24,6 +24,7 @@ PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk +include $(INCLUDE_DIR)/nls.mk define Package/swanmon SECTION:=utils